@extends('master.index')
@section('content')
<div class="layui-card-body ">
    <form action="{{route('proClassEditDo',['id'=>$data->id])}}" method="post">
        {{csrf_field()}}
        <table class="layui-table layui-form">
            <thead>
            <tr>
                <th>分类名称</th>
                <th width="50">父级ID</th>
                <th width="250">操作</th>
            </thead>

                <tbody class="x-cate">
                <tr cate-id='1' fid='0' >
                    <td>
                        <input type="text" name="name" value="{{$data->classname}}">
                    </td>

                    <td>
                        <input type="text" name="parent_id" value="{{$data->parent_id}}">
                    </td>
                    <td>
                        <input type="submit" value="修改">
                    </td>
                </tr>
                </tbody>
        </table>
    </form>
</div>
    @endsection